<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-html</title>
    <script src="../../../../../js/vue.global.js"></script>
</head>
<body>
<div id="root">
    <h2>zhanghaolong</h2>
    <div>{{inner}}</div>
    <div v-html="inner"></div>
</div>
</body>
<script>
    const app =Vue.createApp({
        data(){
            return{
                inner:"<h2>zhanghaolong<h2>"
            }
        }
    })
</script>
</html>